package com.whmall.service.crm.entity.dto.companyuser;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class CompanyUserSupplierApplyQueryRspDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;




    private String companyName;

    private String address;

    private String socialCreditCode;

    private String legalPerson;

    /**
     * 成立日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date establishmentDate;

    /**
     * 有效结束日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date businessEndDate;

    /**
     * 营业执照URL
     */
    private String certificateUrl;

    /**
     * 最近审核状态
     */
    private Integer approvalStatusLatest;

    /*****************工作流需要begin********************/
    private String taskId;

    private String processInstanceId;

    private Integer approvalType;

    private Integer nodeApprovalStatus;

    private String nodeName;

    private String remark;
    /*****************工作流需要end********************/

}
